package com.icloud.common.exception;

import com.icloud.common.constant.InvokeStatus;

/**
 * 客户端异常
 *
 * @author cuiyl
 */
public class ClientException extends AbstractException {
    private InvokeStatus status;

    public ClientException(String message,InvokeStatus status){
        super(message);
        this.status = status;
    }

    @Override
    public InvokeStatus getInvokeStatus() {
        return this.status;
    }

}
